Skip to content

chore: bump RELAY dependency v1.11.0 -> v2.0.4 (github.com/SoundMatt/RELAY/v2) - #74

Merged
SoundMatt merged 2 commits into
mainfrom
fix/relay-v2-pin-bump
Jul 30, 2026
Merged

chore: bump RELAY dependency v1.11.0 -> v2.0.4 (github.com/SoundMatt/RELAY/v2)#74
SoundMatt merged 2 commits into
mainfrom
fix/relay-v2-pin-bump

Conversation

@SoundMatt

Copy link
Copy Markdown
Owner

Summary

go-LIN's go.mod still required github.com/SoundMatt/RELAY v1.11.0
three spec versions behind (v1.12, v1.13, v1.14, and the v2.0 MAJOR have
all shipped since). RELAY v2.0.4 fixed its own go.mod to carry the
/v2 module-path suffix required by Go's semantic import versioning
rules (RELAY#70 — without it, v2.0.x was untaggable/uninstallable via
normal go get/go install). This PR moves go-LIN onto the real,
current, installable pin: github.com/SoundMatt/RELAY/v2 v2.0.4.

What changed

  • go get github.com/SoundMatt/RELAY/v2@v2.0.4, removed the old
    github.com/SoundMatt/RELAY require, ran go mod tidy.
  • Updated all six relay "github.com/SoundMatt/RELAY" imports to
    github.com/SoundMatt/RELAY/v2: adapt.go, adapt_test.go, lin.go,
    relay_vectors_test.go, cmd/go-lin/main.go, cmd/go-lin/main_test.go.
  • Repointed both .github/workflows/ci.yml relay CLI install pins
    (relay-conform, relay-interop jobs) from
    github.com/SoundMatt/RELAY/cmd/relay@v1.11.0 to
    github.com/SoundMatt/RELAY/v2/cmd/relay@v2.0.4.
  • Added a v1.5.0 CHANGELOG entry and ROADMAP release-history row,
    matching this repo's per-release versioning convention.

Conformance review (v1.12 -> v2.0)

Read every intervening RELAY spec/CHANGELOG.md entry to check for
requirement changes that could apply to any implementation, not just RCP:

  • v1.12 — added "c" as a valid CLI language value. N/A — go-lin
    already reports "go".
  • v1.13 — deep-audit fix pass to RELAY's own relay conform/interop/crossbar CLI (e.g. --strict silently dropped
    when placed after the binary path). go-LIN's CI already invokes
    relay conform --strict /tmp/go-lin with --strict first, so it was
    never exposed to that bug.
  • v1.14 — §13.7.2 module-name registry expansion for RCP/DDS
    internal-package naming drift. RCP/DDS-only, N/A to LIN.
  • v2.0 (MAJOR) — replaces RCP's canonical types wholesale for real
    OPEN Alliance TC18 conformance. RCP-only, N/A to LIN. The only part of
    v2.0.x relevant to every RELAY consumer was v2.0.4's own fix (the
    /v2 module-path suffix), which is exactly what this PR picks up.

Conclusion: no LIN-relevant behavioral change required. Verified
this for real rather than assuming it:

  • Built the real v2.0.4 relay CLI from source and ran it against the
    built go-lin binary: relay conform --strict and relay interop --strict --protocol LIN both PASS, no new findings.
  • Diffed the three checked-in testdata/relay-vectors/ LIN golden
    vectors against RELAY v2.0.4's published spec/vectors/ — byte-
    identical, no drift.
  • lin.SpecVersion (aliased from relay.SpecVersion) now reports
    "2.0" automatically; no other spec-version literals needed updating.

Test plan

  • go build ./...
  • go vet ./...
  • go test ./...
  • go test ./... -race
  • relay conform --strict (RELAY v2.0.4 CLI, built from source) — PASS
  • relay interop --strict --protocol LIN (RELAY v2.0.4 CLI) — PASS
  • gofusa check — no findings
  • gofusa trace -req-coverage 100 — 100% (123/123)
  • gofusa trace -sec-tested 100 — 100% (123/123)
  • gofusa cyber — 0 error/warning (28 pre-existing INFO-level
    narrowing-conversion notes, unrelated to this change)
  • gofusa vuln — 0 findings
  • CI (relay-conform / relay-interop / gofusa jobs) — pending, this PR
    exercises the updated CI pins for the first time in-pipeline

…RELAY/v2)

go-LIN's go.mod required github.com/SoundMatt/RELAY v1.11.0, three spec
versions behind (v1.12, v1.13, v1.14, v2.0 have all shipped since). RELAY
v2.0.4 fixed its own go.mod to carry the required /v2 module-path suffix
(RELAY#70), so this is the real, current, go-get-able pin.

Reviewed every intervening RELAY CHANGELOG entry for LIN-relevant
requirement changes:
- v1.12: added "c" as a valid CLI `language` value — not applicable,
  go-lin already reports "go".
- v1.13: deep-audit fix pass to RELAY's own conform/interop/crossbar CLI
  bugs (e.g. --strict silently dropped when placed after the binary
  path). go-LIN's CI already invokes `relay conform --strict
  /tmp/go-lin` with --strict first, so it was never exposed to that bug.
- v1.14: §13.7.2 module-name registry expansion for RCP/DDS-internals
  naming drift — RCP/DDS-only, not applicable to LIN.
- v2.0 (MAJOR): replaces RCP's canonical types wholesale for real OPEN
  Alliance TC18 conformance — RCP-only, not applicable to LIN.

None of the above required any go-LIN behavioral change. Updated all six
`relay "github.com/SoundMatt/RELAY"` imports (adapt.go, adapt_test.go,
lin.go, relay_vectors_test.go, cmd/go-lin/main.go,
cmd/go-lin/main_test.go) to the /v2 path, removed the old require via
`go mod tidy`, and repointed both `.github/workflows/ci.yml` `relay` CLI
install pins from v1.11.0 to v2.0.4.

Verified against a real v2.0.4 relay CLI built from source:
- `relay conform --strict` and `relay interop --strict --protocol LIN`
  both PASS with no new findings.
- The three checked-in testdata/relay-vectors/ LIN golden vectors are
  byte-identical to RELAY v2.0.4's published spec/vectors/ — no drift.
- go build ./..., go vet ./..., go test ./..., go test ./... -race all
  pass.
- gofusa check, gofusa trace -req-coverage 100, gofusa trace
  -sec-tested 100, gofusa cyber, gofusa vuln all pass with no new
  findings (pre-existing INFO-level narrowing-conversion notes only,
  unrelated to this change).

Added the v1.5.0 CHANGELOG entry and ROADMAP release-history row per
this repo's usual per-release versioning convention (MINOR bump per
notable PR).

Signed-off-by: Matt <47545907+SoundMatt@users.noreply.github.com>
Signed-off-by: Matt <47545907+SoundMatt@users.noreply.github.com>
@SoundMatt
SoundMatt merged commit c4ed37b into main Jul 30, 2026
14 checks passed
@SoundMatt
SoundMatt deleted the fix/relay-v2-pin-bump branch July 30, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant